<!DOCTYPE html>
<html lang="en" xmlns:th="http://www.thymeleaf.org">
<head>
    <meta charset="UTF-8">
    <title>Title</title>
</head>
<body class="text-center">
    <div th:each="entries,stat:${data.list}">
        <article class="am-g blog-entry-article">
            <div class="am-u-1g-6 am-u-md-12 am-u-sm-12 blog-entry-text">
                <!--文章分类-->
                <span class="blog-color" style="font-size: 15px;"><a>默认分类</a></span>
                <!-—发布时间-->
                <span style="font-size: 15px;" th:text="'发布于' + ${entries['created']}" ></span>
                <h2>
                    <!--文章标题-->
                    <div><a style="color:#0f9ae0; font-size: 20px;" th:text="${entries['title']}" /></div>
                </h2>
                <!--文章内容-->
                <div styte="font-size：16px; "th:text="${entries['content']}"/>
            </div>
        </article>
    </div>
    <div>
        <a class="pure-button" th:if="${data.pageNum != 0}" th:href="@{'/article/findPage/'+${data.prePage}}">上一页</a>
        <a class="pure-button" th:if="${data.nextPage != 0}" th:href="@{'/article/findPage/'+${data.nextPage}}">下一页</a>
        <a class="pure-button" th:href="@{'/article/findPage/'+${data.pages}}">尾页</a>
    </div>

</body>
</html>